//
//  YIMy.m
//  一点互助
//
//  Created by rimi on 16/8/19.
//  Copyright © 2016年 shen. All rights reserved.
//

#import "YIMy.h"
#import "YIHeaderView.h"
@interface YIMy ()
@property(nonatomic,strong)YIHeaderView *headerView;
@end

@implementation YIMy

- (void)viewDidLoad {
    [super viewDidLoad];
       [self.view addSubview:self.headerView];
}

-(void)viewWillAppear:(BOOL)animated{
        self.navigationController.navigationBarHidden = YES;
}
-(YIHeaderView *)headerView{
       if (!_headerView) {
              _headerView = [[YIHeaderView alloc]initWithFrame:self.view.bounds];
       }
        return _headerView;
}
@end
